package com.quasar.hpatient.model.custommodel;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * name : lishuai
 * time : 2017/11/1
 * title: 化验单信息
 */

public class InspactionBean implements Serializable, MultiItemEntity {

    public static final int TITLE = 1;  //化验大项 标题
    public static final int FROM = 2;   //化验小项详情
    public static final int EDIT = 3;   //底部
    public static final int DIV_TITLE = 4; //添加可以编辑的标题
    public static final int DIV_EDIT = 5;
    //添加底部按钮
    public static  final  int SUBMIT=6;

    //蛋白质
    public static final int PPOTEIN=7;

    private Boolean isAdd;

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    private int itemType;
    private Float submit;


    private String InspactionName;  //化验大项名称
    public InspactionitemBean inspactionitemBeen;  //化验小项详情

    public InspactionBean(int itemType, Float submit) {
        this.itemType = itemType;
        this.submit = submit;
    }

    public InspactionBean() {

    }

    public InspactionBean(int itemType) {

        this.itemType = itemType;
    }



    public InspactionBean(int itemType, String inspactionName) {  //添加标题布局
        this.itemType = itemType;
        InspactionName = inspactionName;
    }

    public InspactionBean(int itemType, InspactionitemBean inspactionitemBeen) {  //添加化验单详情布局
        this.itemType = itemType;
        this.inspactionitemBeen = inspactionitemBeen;
    }

    public InspactionBean(int itemType, Boolean isAdd) {  //添加尾部局增加 item
        this.itemType = itemType;
        this.isAdd = isAdd;
    }


    public String getInspactionName() {
        return InspactionName;
    }

    public void setInspactionName(String inspactionName) {
        InspactionName = inspactionName;
    }


    public InspactionitemBean getInspactionitemBeen() {
        return inspactionitemBeen;
    }

    public void setInspactionitemBeen(InspactionitemBean inspactionitemBeen) {
        this.inspactionitemBeen = inspactionitemBeen;
    }


    public Boolean getAdd() {
        return isAdd;
    }

    public void setAdd(Boolean add) {
        isAdd = add;
    }

    @Override
    public int getItemType() {
        return itemType;
    }


}
